package com.dkm.ec.sale.persistence.dao.impl;

import java.util.HashMap;
import java.util.Map;

import org.springframework.stereotype.Repository;

import com.dkm.base.db.mybatis.dao.MyBatisDaoImpl;
import com.dkm.ec.sale.persistence.dao.SalePriceDao;
import com.dkm.ec.sale.persistence.entity.SalePricePo;

/**
 * 对象功能:产品销售价格 Dao接口的实现类
 * 开发公司:SKG.COM
 * 开发人员:Yuki
 * 创建时间:2015-01-23 15:26:47
 */
@Repository
public class SalePriceDaoImpl extends MyBatisDaoImpl<String, SalePricePo> implements SalePriceDao{

    @Override
    public String getNamespace() {
        return SalePricePo.class.getName();
    }

	@Override
	public void deleteBySku(String skuId) {
		Map<String, Object> params = new HashMap<String, Object>();
		params.put("prodSkuId", skuId);
		deleteByKey("deleteBySku",params);
		
	}
	
}
